
package za.ac.cput.peterjohn.DesignPatternPrincipals.creational.Builder.Model;

public class ItalianMeal implements MealBuilder 
{
    private Meal meal;

    public ItalianMeal() { meal = new Meal(); }

    @Override
    public void buildDrink() {  meal.setDrink("red wine"); }

    @Override
    public void buildMainCourse() {  meal.setMainCourse("pizza"); }

    @Override
    public void buildSide() { meal.setSide("bread"); }

    @Override
    public Meal getMeal() { return meal; }  
}